namespace Mytodotodaylist.Core.Entites
{
    using System;
    using Events;

    public class Notification
    {
        public readonly Event TheEvent;

        public Notification(Event theEvent)
        {
            TheEvent = theEvent;
            
            Text = theEvent.Name;
            Date = theEvent.Date;
        }

        public string Text { get; set; }
        public DateTime Date { get; set; }

        public override string ToString()
        {
            return Text + " # " + Date.ToShortDateString();
        }
    }
}